<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath }"></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改用户信息</title>
</head>
<body>
<form action="${ctx }/updata" method="post">
   <input id="id" type="hidden" name="id" value="${user.id }"><br>
   <input id="username" type="text" name="username" value="${user.username }"><br>
   <input id="password" type="text" name="password" value="${user.password }"><br>
   <input id="address" type="text" name="address" value="${user.address }"><br>
   <input id="phone" type="text" name="phone" value="${user.phone }"><br>
   <input id="hobby" type="text" name="hobby" value="${user.hobby }"><br>
   <input type="submit" value="修改">
   
</form>

</body>
</html>